CXX = g++
CXXFLAGS = -g3 -Wall -Wextra
INCLUDE = 
LDFLAGS = 
LDLIBS = 

PROGS =	TestList TestRandom Fig10_63 TestVector TestSort

.PHONY: all
all: $(PROGS)
	@echo "build OK!"

clean:
	@$(RM) $(PROGS) *.o
	@echo "clean OK!"

TestList: TestList.o
	$(CXX) -o $@ $^ $(LDFLAGS) $(LDLIBS)

TestRandom: TestRandom.o Random.o
	$(CXX) -o $@ $^ $(LDFLAGS) $(LDLIBS)

Fig10_63: Fig10_63.o Random.o
	$(CXX) -o $@ $^ $(LDFLAGS) $(LDLIBS)

TestVector: TestVector.o
	$(CXX) -o $@ $^ $(LDFLAGS) $(LDLIBS)

TestSort: TestSort.o
	$(CXX) -o $@ $^ $(LDFLAGS) $(LDLIBS)

